package truef.house.domain;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.cs.software.base.domain.BaseEntity;

@Table(name = "T_swarehousetest")
@Entity
public class SWarehouse extends BaseEntity {

	/**
		 * 
		 */
	private static final long serialVersionUID = -638736141750930508L;
	@ManyToOne
	@JoinColumn(name = "SAdress_ID")
	SAdress sadresses;
	
	String code;// 仓库编号

	public String getcode() {
		return code;
	}

	public void setcode(String code) {
		this.code = code;
	}

	String name;// 发货人

	public String getname() {
		return name;
	}

	public void setname(String name) {
		this.name = name;
	}
}
